home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trusted Irix /B 4.0.4
/
Trusted-Irix B-4.0.1.iso
/
dist
/
eoe1.idb
/
etc
/
lnsyscon.z
/
lnsyscon
Wrap
Text File
|
1992-04-03
|
322b
|
16 lines
#! /bin/sh
#Tag 0x00000f00
#
# $Revision: 1.4 $
# make syscon and console the same
set `ls -ilL /dev/console /dev/syscon |
sed -e 's/.*\( [0-9]*\), *\([0-9]*\).*/\1 \2/'`
if test -c /dev/console \
-a '(' ! -c /dev/syscon -o "$1" != "$3" -o "$2" != "$4" ')'
then
rm -rf /dev/syscon
mknod /dev/syscon c $1 $2
fi